//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="LOTMTBM")]
		public class LOTMTBMEntity: EntityObject
		{


#region Field
				private	decimal _BOOK_PRICE=0;
				private	string _CCY_CODE="";
				private	bool _CLOSE_BIT=false;
				private	string _ITEM_NO="";
				private	DateTime _LOT_DATE01=DateTime.MinValue;
				private	DateTime _LOT_DATE02=DateTime.MinValue;
				private	DateTime _LOT_DATE03=DateTime.MinValue;
				private	DateTime _LOT_DATE04=DateTime.MinValue;
				private	DateTime _LOT_DATE05=DateTime.MinValue;
				private	string _LOT_DDC="";
				private	string _LOT_DOC="";
				private	string _LOT_RMKS="";
				private	string _ODTP_CODE="";
				private	string _TRANS_UDFX6="";
				private	decimal _UNIT_PRICE=0;
				private	decimal _XCHG_RATE=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//LOTMTBM,BOOK_PRICE
				//</Summary>
				public decimal BOOK_PRICE
				{
					get { return _BOOK_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_BOOK_PRICE)
							{
								_BOOK_PRICE = value; 
								this.PropertyChange("BOOK_PRICE");
							}
						}else{
							_BOOK_PRICE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,CCY_CODE
				//</Summary>
				public string CCY_CODE
				{
					get { return _CCY_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CCY_CODE)
							{
								_CCY_CODE = value; 
								this.PropertyChange("CCY_CODE");
							}
						}else{
							_CCY_CODE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,CLOSE_BIT
				//</Summary>
				public bool CLOSE_BIT
				{
					get { return _CLOSE_BIT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CLOSE_BIT)
							{
								_CLOSE_BIT = value; 
								this.PropertyChange("CLOSE_BIT");
							}
						}else{
							_CLOSE_BIT = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DATE01
				//</Summary>
				public DateTime LOT_DATE01
				{
					get { return _LOT_DATE01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DATE01)
							{
								_LOT_DATE01 = value; 
								this.PropertyChange("LOT_DATE01");
							}
						}else{
							_LOT_DATE01 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DATE02
				//</Summary>
				public DateTime LOT_DATE02
				{
					get { return _LOT_DATE02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DATE02)
							{
								_LOT_DATE02 = value; 
								this.PropertyChange("LOT_DATE02");
							}
						}else{
							_LOT_DATE02 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DATE03
				//</Summary>
				public DateTime LOT_DATE03
				{
					get { return _LOT_DATE03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DATE03)
							{
								_LOT_DATE03 = value; 
								this.PropertyChange("LOT_DATE03");
							}
						}else{
							_LOT_DATE03 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DATE04
				//</Summary>
				public DateTime LOT_DATE04
				{
					get { return _LOT_DATE04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DATE04)
							{
								_LOT_DATE04 = value; 
								this.PropertyChange("LOT_DATE04");
							}
						}else{
							_LOT_DATE04 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DATE05
				//</Summary>
				public DateTime LOT_DATE05
				{
					get { return _LOT_DATE05; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DATE05)
							{
								_LOT_DATE05 = value; 
								this.PropertyChange("LOT_DATE05");
							}
						}else{
							_LOT_DATE05 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DDC
				//</Summary>
				public string LOT_DDC
				{
					get { return _LOT_DDC; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DDC)
							{
								_LOT_DDC = value; 
								this.PropertyChange("LOT_DDC");
							}
						}else{
							_LOT_DDC = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_DOC
				//</Summary>
				public string LOT_DOC
				{
					get { return _LOT_DOC; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_DOC)
							{
								_LOT_DOC = value; 
								this.PropertyChange("LOT_DOC");
							}
						}else{
							_LOT_DOC = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,LOT_RMKS
				//</Summary>
				public string LOT_RMKS
				{
					get { return _LOT_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOT_RMKS)
							{
								_LOT_RMKS = value; 
								this.PropertyChange("LOT_RMKS");
							}
						}else{
							_LOT_RMKS = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ODTP_CODE
				//</Summary>
				public string ODTP_CODE
				{
					get { return _ODTP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ODTP_CODE)
							{
								_ODTP_CODE = value; 
								this.PropertyChange("ODTP_CODE");
							}
						}else{
							_ODTP_CODE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,TRANS_UDFX6
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string TRANS_UDFX6
				{
					get { return _TRANS_UDFX6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX6)
							{
								_TRANS_UDFX6 = value; 
								this.PropertyChange("TRANS_UDFX6");
							}
						}else{
							_TRANS_UDFX6 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,UNIT_PRICE
				//</Summary>
				public decimal UNIT_PRICE
				{
					get { return _UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UNIT_PRICE)
							{
								_UNIT_PRICE = value; 
								this.PropertyChange("UNIT_PRICE");
							}
						}else{
							_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,XCHG_RATE
				//</Summary>
				public decimal XCHG_RATE
				{
					get { return _XCHG_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_XCHG_RATE)
							{
								_XCHG_RATE = value; 
								this.PropertyChange("XCHG_RATE");
							}
						}else{
							_XCHG_RATE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//LOTMTBM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
